package edu.zjut.sjq.mapper;

import edu.zjut.sjq.bean.Like;

public interface LikeMapper {
    Integer deleteByPrimaryKey(Integer likeId);

    Integer insert(Like record);

    Integer selectTotalLikeNum(Integer articleId);

    Like selectByArticleIdAndUserId(Integer articleId,Integer userId);

}